package com.cslc.edas.demo.client.config;

import com.alibaba.boot.hsf.annotation.HSFConsumer;
import com.cslc.edas.demo.service.IAsyncService;
import com.cslc.edas.demo.service.IService;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HsfConfig {

    //@HSFConsumer(clientTimeout = 3000, serviceVersion = "1.0.0")
    @HSFConsumer
    private IService service;

    @HSFConsumer(futureMethods = "future")
    private IAsyncService asyncService;
}
